﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Dto.YS
{
    /// <summary>
    /// 收货单添加打包
    /// </summary>
    public class AddReceivingPackDto
    {
        public int BillType { get; set; }//单据类型
        public long? WarehouseId { get; set; }//库房id
        ///<summary>
        ////// 供应商Id
        //</summary>0 个引用
        public long? Supplierld { get; set; }

        ///<summary>
        ///供应商名称
        ///</summary>0 个引用
        public string SupplierName { get; set; }

        ///<summary
        //////库房编码
        ///</summary>0 个引用
        public string WarehouseCode { get; set; }
        public string WarehouseName { get; set; }

        public string? OrderSn { get; set; } //订单号

        public List<packList> packLists { get; set; } = new List<packList>();
    }
    public class packList
    {
        public int PackNo { get; set; } //包裹编号
        public int PackQty { get; set; } //包裹编号

        public long MaterialId { get; set; }
       

        /// <summary>
        /// 物料号
        /// </summary>
    
        public string MaterialCode
        {
            get;
            set;
        }

        /// <summary>
        /// 物料名称
        /// </summary>

        public string MaterialName
        {
            get;
            set;
        }
        public string BatchNO
        {
            get;
            set;
        }
        /// <summary>
        /// 物料基本单位Id
        /// </summary>
        public long? UnitId
        {
            get;
            set;
        }

        /// <summary>
        /// 物料基本单位
        /// </summary>
      
        public string UnitName
        {
            get;
            set;
        }
    }



}
